package com.fieldchain.ex.fa100.utils.chart.dataset;

import android.graphics.Color;

import com.github.mikephil.charting.components.YAxis;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineDataSet;

import java.util.List;

/**
 * Created by biyunlong
 * Email: 1225198434@qq.com
 * Data:  2018/10/13
 */
public class MyLine5DataSet extends LineDataSet{
    public MyLine5DataSet(List<Entry> yVals, String label) {
        super(yVals, label);
        init();
    }
    public void init(){
        setAxisDependency(YAxis.AxisDependency.LEFT);
        setColor(Color.parseColor("#ffCC00"));
        setDrawCircles(false);
        setDrawValues(false);
        setHighlightEnabled(false);
    }
}
